package cn.itsource.org.query;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "部门对象", description = "部门对象参数")
public class DepartmentQuery {
    private Integer page = 1;       //页码
    private Integer rows = 5;       //每条页数
    private String keyword;     //高级查询参数
    private Long[] ids;         //批量删除需要用到的ids,接收页面传递过来的id数组


    //上级部门id
    private Long parentId;

    //部门经理id
    private Long managerId;
}
